<?php
class FormaPago extends Propiedad
{
	function __construct(){
		parent::__construct("formas_pago","nombre","id_forma");
		
		switch(func_num_args())
		{
			case 1:	if(trim(func_get_arg(0)) =="")return;
					$this->setId( func_get_arg( 0 ) );
					$this->cargar();
					break;
		}
	}
}
?>
